<template>
	<div>
		<el-table :data="tableData" style="width: 100%">
			<el-table-column prop="coin" label="名称">
				<template #default="scope">
					<div class="pt-10px pb-10px flex items-center">
						<img :src="scope.row.icon" alt="" class="w-[20px] h-[20px] mr-[5px]">
						<span class="text-[#333333] text-[14px] font-[400]">{{scope.row.coin}}</span>
					</div>
				</template>
			</el-table-column>
			<el-table-column prop="use" label="最新价(CNY)" />
		</el-table>
	</div>
</template>
<script lang="ts" setup>
import {ref} from 'vue';
const tableData = ref<any[]>([
	{
		icon:'/purchase/btc.svg',
		coin:'USDT',
		use:'20000',
	},
	{
		icon:'/purchase/btc.svg',
		coin:'USDT',
		use:'20000',
	},
	{
		icon:'/purchase/btc.svg',
		coin:'USDT',
		use:'20000',
	}
])
</script>
<style lang="scss" scoped></style>
